package cn.lizemin.template.version1;

import cn.lizemin.template.version1.entity.People;

/**
 * @author lzm
 * @version 1.0
 * @description: TODO
 * @date 2022/4/20 10:53
 */
public class Client {
    /**
     * 程序的入口
     */
    public static void main(String[] args) {
        People lzm = new People();
        lzm.toCompany(new Transport() {
            @Override
            public void takingTransport() {
                System.out.println("骑自行车去。。。");
            }
        });

        System.out.println("----------------");
        lzm.toCompany(new Transport() {
            @Override
            public void takingTransport() {
                System.out.println("开地铁去。。。");
            }
        });

    }
}
